package com.css.fxfzypg.modules.saresults.service;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.saresults.entity.DzqhApAsicMapEntity;
import com.css.fxfzypg.modules.saresults.entity.DzqhPosition;
import com.css.fxfzypg.modules.saresults.param.AdminUpdateParam;
import com.css.fxfzypg.modules.saresults.param.ApTemporarySaveParam;
import com.css.fxfzypg.modules.saresults.param.ApproveParam;
import com.css.fxfzypg.modules.saresults.vo.HistoryVo;
import com.css.fxfzypg.modules.saresults.vo.SaResultsHlVo;
import com.css.fxfzypg.modules.saresults.vo.SaResultsIdVo;
import com.css.fxfzypg.modules.saresults.vo.SaResultsVo;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SaResultsService {
    RestResponse getSaResultsById(String projectId);

    RestResponse saveOrUpdateSaResults(SaResultsVo saResultsVo);

    RestResponse getSaResultsProject(DzqhApAsicMapEntity mapEntity, HttpServletRequest request,String geom);

    RestResponse deleteSaResultsProject(String projectId,String deleteReason,String reviewComments,String approvalStatus);

    RestResponse getSaResultsHl(SaResultsHlVo saResultsHlVo, HttpServletRequest request,String geom);

    RestResponse importExcelSaResults(MultipartFile file);

    RestResponse queryHistory(String originalDataId);

    void exportExcelSaResults(HttpServletResponse response, String projectId);

    RestResponse notSubmitted();

    RestResponse queryAllProject();

    RestResponse queryUserRole();

    RestResponse test1111();

    void saveOrUpdate(ApTemporarySaveParam param);

    void approve(ApproveParam param);

    void adminUpdate(AdminUpdateParam param);

    void deleteById(AdminUpdateParam param);

    List<HistoryVo> getHistory(String id, Integer type);

    String getByAreaId(String id);
}
